/*
 * @Description:
 * @Version: 2.0
 * @Autor: wiz
 * @Date: 2024-07-28 10:47:10
 * @LastEditors: swc
 * @LastEditTime: 2024-12-20 14:05:54
 */
import { ts } from '@/services';
import Vue from 'vue';
/*
 * props
 */
export namespace N_oApprovalInfo {
  // export interface I_step {
  //   title: string;
  //   content: string;
  //   status: 'wait' | 'process' | 'finish' | 'error';
  //   icon: string;
  // }
  export interface I_button {
    title: string;
    isShow: boolean;
    disable?: boolean;
    value: string;
  }

  export interface I_hideParam {
    action: 'delete' | 'read';
  }

  /**
   * @description: 组件配置项
   */
  export interface config {
    modalTitle?: string;
    modalSize?: Array<number>;
    onlyFlow?: boolean;
    msgConfig?: ts.T_msgToDoList;
  }
  // export class T_msgContent {
  //   public msgType: number;

  //   public msgContent: object;

  //   constructor() {
  //     this.msgType = 0;
  //     this.msgContent = {};
  //   }

  //   public setMsgType(msgType: number) {
  //     this.msgType = msgType;
  //     return this;
  //   }

  //   public setMsgContent(msgContent: object) {
  //     this.msgContent = msgContent;
  //     return this;
  //   }
  // }
  // export interface I_msgContent extends T_msgContent {}
  export interface oApprovalInfo extends Vue {
    approvalTableName: string;

    graphData: any;

    liaisonID: string;

    nodeClick(nodeID: string): void;
  }
}
